package priv.wangy.micro.common.config.schedule;

import lombok.Data;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhangjq
 * @since 2024-05-28
 */
@Data
@Configuration
@EnableConfigurationProperties(ScheduleProperties.class)
public class ScheduleConfig {

    private final ScheduleProperties scheduleProperties;

    public ScheduleConfig(ScheduleProperties scheduleProperties) {
        this.scheduleProperties = scheduleProperties;
    }
}
